keyhandler: Do not serialise keyhandlers; increase scratch array size.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 12 Feb 2010 09:21:57 +0000 (09:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 12 Feb 2010 09:21:57 +0000 (09:21 +0000)
commitd652a9595460cfc81afeb66c17aef7adedfb9175
treebcdfea3dfaa9779c0254ecdb163a1b2ecfd59156
parent98650e12c1241d6a72f6d3e6a4f8d16faaf9f9c5
keyhandler: Do not serialise keyhandlers; increase scratch array size.

Although serialising keyhandlers is safer, and in particular
protects access to shared heyhandler_scratch[], in debug scenarios it
is probably better to 'have a go' when requested - and assume the user
knows what they are doing.

Meanwhile, increase scratch array size to 1024. That's enough for more
than a dozen lines of 80-column text, and should be plenty in any
practical situation.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/keyhandler.c
xen/include/xen/keyhandler.h